{% extends 'base.html' %}
{% block header %}
<h1>{% block title %}CLUSTER{% endblock %}</h1>
{% endblock %}

{% block content %}
{% for post in posts %}
<article class="post">
  <header>
    <div>
      <h1>
        {{ post['name'] }}  {{ post['InternalIP'] }}  {{ post['status'] }} {{ post['roles'] }} <a class="action" href="{{ url_for('k8s-show.node_yaml', name=post['name']) }}">YAML</a>
      </h1>
    </div>
  </header>
</article>
{% if not loop.last %}
<hr>
{% endif %}
{% endfor %}
{% endblock %}